export default {
  addNum(state) {
    state.num++;
  },
  // 设置值
  setNum(state, value) {
    state.num = value;
  },
  // 设置段子
  setDuanzi(state, value) {
    state.duanzi = value;
  }
}